package com.luozongyao.videoPromotion.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author luozongyao
 * @since 2021-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Video对象", description="")
public class Video implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "视频id")
    @TableId(value = "video_id", type = IdType.AUTO)
    private Integer videoId;

    @ApiModelProperty(value = "视频标题")
    private String videoTitle;

    @ApiModelProperty(value = "视频封面")
    private String videoCover;

    @ApiModelProperty(value = "视频介绍")
    private String videoIntroduction;

    @ApiModelProperty(value = "tags")
    private String videoTags;

    @ApiModelProperty(value = "视频类型")
    private Integer videoType;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "视频时长")
    private Integer videoDuration;

    @ApiModelProperty(value = "视频url")
    private String videoUrl;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;

    @ApiModelProperty(value = "(逻辑删除)1--true下架，0--false已上架")
    private String isDeleted;

    @ApiModelProperty(value = "1--true通过审核，0--false未通过审核")
    private String isPass;

    @ApiModelProperty(value = "审核不通过原因的类型")
    private String unpassType;

    @ApiModelProperty(value = "审核不通过原因的具体原因")
    private String unpassDetails;

    @ApiModelProperty(value = "审核时间")
    private Date checkTime;

    @ApiModelProperty(value = "审查人员id")
    private Integer examinerId;

    @ApiModelProperty(value = "点赞数")
    private Integer likes;

    @ApiModelProperty(value = "播放数")
    private Integer views;

    //用来前端判断是否推广
//    private Boolean flag = false;



}
